package oopchapter3_sumRental;

public class Customer {
	String id;
	String name;
	
	public Customer(String id, String name) {
		this.id=id;
		this.name=name;
	}

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public int calcTotalRent(Vechile motos[],int days){	
		int sum=0;
		for(int i=0;i<motos.length;i++)
			sum+=motos[i].calRent(days);
		return sum;
	}

}
